package cn.iocoder.yudao.module.shop.controller.admin.giftcardrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import javax.validation.constraints.*;

/**
 * 礼品卡绑定记录 Base VO，提供给添加、修改、详细的子 VO 使用
 * 如果子 VO 存在差异的字段，请不要添加到这里，影响 Swagger 文档生成
 */
@Data
public class ShopGiftCardRecordBaseVO {

    @Schema(description = "会员id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26158")
    @NotNull(message = "会员id不能为空")
    private Long memberId;

    @Schema(description = "昵称", requiredMode = Schema.RequiredMode.REQUIRED, example = "赵六")
    @NotNull(message = "昵称不能为空")
    private String nickname;

    @Schema(description = "电话", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "电话不能为空")
    private String mobile;

    @Schema(description = "名字", requiredMode = Schema.RequiredMode.REQUIRED, example = "张三")
    @NotNull(message = "名字不能为空")
    private String name;

    @Schema(description = "数量", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "数量不能为空")
    private Integer num;

    @Schema(description = "来源", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "来源不能为空")
    private String source;

}
